package xyz.jpcr.covid19app.Model;

public class Coll {
    private String name;
    private int currentConfirmedCount;
    private int suspectedCount;
    private int curedCount;
    private int deadCount;
    private int confirmedCount;
    private long updateTime;

    public Coll(String name, int currentConfirmedCount, int suspectedCount, int curedCount, int deadCount, int confirmedCount, long updateTime) {
        this.name = name;
        this.currentConfirmedCount = currentConfirmedCount;
        this.suspectedCount = suspectedCount;
        this.curedCount = curedCount;
        this.deadCount = deadCount;
        this.confirmedCount = confirmedCount;
        this.updateTime = updateTime;
    }

    public int getCurrentConfirmedCount() {
        return currentConfirmedCount;
    }

    public void setCurrentConfirmedCount(int currentConfirmedCount) {
        this.currentConfirmedCount = currentConfirmedCount;
    }

    public int getSuspectedCount() {
        return suspectedCount;
    }

    public void setSuspectedCount(int suspectedCount) {
        this.suspectedCount = suspectedCount;
    }

    public int getCuredCount() {
        return curedCount;
    }

    public void setCuredCount(int curedCount) {
        this.curedCount = curedCount;
    }

    public int getDeadCount() {
        return deadCount;
    }

    public void setDeadCount(int deadCount) {
        this.deadCount = deadCount;
    }

    public int getConfirmedCount() {
        return confirmedCount;
    }

    public void setConfirmedCount(int confirmedCount) {
        this.confirmedCount = confirmedCount;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Coll{" +
                "name='" + name + '\'' +
                ", currentConfirmedCount=" + currentConfirmedCount +
                ", suspectedCount=" + suspectedCount +
                ", curedCount=" + curedCount +
                ", deadCount=" + deadCount +
                ", confirmedCount=" + confirmedCount +
                ", updateTime=" + updateTime +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
